<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>产品使用记录添加</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
    <div class="layui-form-item">
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">使用品类别选择</label>
        <div class="layui-input-inline">
            <input type="hidden" id="categoryId" name="categoryId">
            <input name="categoryName" type="text" id="categoryName"  lay-filter="tree" class="layui-input" value="">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-lg6">
            <label class="layui-form-label">使用品名称</label>
            <div class="layui-input-inline">
                <input type="hidden" id="produceId" name="produceId" value="">
                <select name="produceName" id="produceName" lay-filter="test">
                    <option value=""></option>
                </select>
                <%--<input type="text" name="produceName" id="produceName" lay-verify="required" lay-filter="tree" class="layui-input" value="">--%>
            </div>
        </div>
    </div>


    <div class="layui-form-item">
        <div class="layui-col-lg6">
            <label class="layui-form-label">领用人</label>
            <div class="layui-input-inline">
                <input type="text" name="userId" id="userId" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-lg6">
            <label class="layui-form-label">领用数量</label>
            <div class="layui-input-inline">
                <input type="text" name="useNum" id="useNum" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">领用时间</label>
            <div class="layui-input-inline">
                <input type="text" name="useDate" id="useDate" lay-verify="date" placeholder="yyyy-MM-dd HH:mm:ss" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-col-lg6">
            <label class="layui-form-label">数量单位</label>
            <div class="layui-input-inline">
                <input type="text" name="unit" id="unit" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="" readonly="readonly">
            </div>
        </div>
    </div>
    <div class="layui-row layui-col-space10 layui-form-item">
        <div class="layui-col-lg6">
            <label class="layui-form-label">备注信息：</label>
            <div class="layui-input-block">
                <textarea placeholder="备注物品实验用途、动物饲养地点等" name="remarks" id="remarks" class="layui-textarea"  ></textarea>
            </div>
        </div>
    </div>

	<div class="layui-form-item layui-row layui-col-xs12">
			<div class="layui-input-block">
				<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addProduce">立即添加</button>
				<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
			</div>
    </div>



</form>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/layui/mymodule/common.js"></script>
<script type="text/javascript" src="/js/used/produceUsedAdd.js"></script>
</body>
</html>